<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" href="/favicon.ico" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link href="https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.min.css" rel="stylesheet">
  <title></title>
  <link href="https://cdn.bootcdn.net/ajax/libs/minireset.css/0.0.2/minireset.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css">
  <script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"> </script>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
  <style>
    html {
      font-size: 12px;
    }

    body {
      margin: 0;
      overflow: hidden;
      transform-origin: center;
    }

    #app {
      background: black;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
    }

    .loadingPage {
      width: 100vw;
      height: 100vh;
      position: relative;
      background: black;
    }

    .content {
      position: absolute;
      top: 50%;
      width: 100%;
      left: 0;
      transform: translateY(-50%);
      display: flex;
      justify-content: center;
      align-items: center;
      flex-flow: column;
    }

    .loader {
      --size: 32px;
      --duration: 800ms;
      width: 96px;
      height: 64px;
      margin: 50px auto;
      transform-style: preserve-3d;
      transform-origin: 50% 50%;
      transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
      position: relative;
    }

    .loader .box {
      width: 32px;
      height: 32px;
      transform-style: preserve-3d;
      position: absolute;
      top: 0;
      left: 0;
    }

    .loader .box:nth-child(1) {
      transform: translate(100%, 0);
      animation: box1 800ms linear infinite;
    }

    .loader .box:nth-child(2) {
      transform: translate(0, 100%);
      animation: box2 800ms linear infinite;
    }

    .loader .box:nth-child(3) {
      transform: translate(100%, 100%);
      animation: box3 800ms linear infinite;
    }

    .loader .box:nth-child(4) {
      transform: translate(200%, 0);
      animation: box4 800ms linear infinite;
    }

    .loader .box>div {
      --translateZ: calc(var(--size) / 2);
      --rotateY: 0deg;
      --rotateX: 0deg;
      background: #5c8df6;
      width: 100%;
      height: 100%;
      transform: rotateY(var(--rotateY)) rotateX(var(--rotateX)) translateZ(var(--translateZ));
      position: absolute;
      top: auto;
      right: auto;
      bottom: auto;
      left: auto;
    }

    .loader .box>div:nth-child(1) {
      top: 0;
      left: 0;
    }

    .loader .box>div:nth-child(2) {
      background: #145af2;
      right: 0;
      --rotateY: 90deg;
    }

    .loader .box>div:nth-child(3) {
      background: #447cf5;
      --rotateX: -90deg;
    }

    .loader .box>div:nth-child(4) {
      background: #dbe3f4;
      top: 0;
      left: 0;
      --translateZ: calc(var(--size) * 3 * -1);
    }

    @keyframes box1 {

      0%,
      50% {
        transform: translate(100%, 0);
      }

      100% {
        transform: translate(200%, 0);
      }
    }

    @keyframes box2 {
      0% {
        transform: translate(0, 100%);
      }

      50% {
        transform: translate(0, 0);
      }

      100% {
        transform: translate(100%, 0);
      }
    }

    @keyframes box3 {

      0%,
      50% {
        transform: translate(100%, 100%);
      }

      100% {
        transform: translate(0, 100%);
      }
    }

    @keyframes box4 {
      0% {
        transform: translate(200%, 0);
      }

      50% {
        transform: translate(200%, 100%);
      }

      100% {
        transform: translate(100%, 100%);
      }
    }
  </style>
</head>

<body>
  <div id="app">
    <div class="loadingPage">
      <div class="content">
        <div class="loader">
          <div class="box">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
          </div>
          <div class="box">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
          </div>
          <div class="box">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
          </div>
          <div class="box">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <audio src="./img/bg.mp3" id="bgMusic" hidden loop preload="auto"></audio>
  <audio src="./img/妈妈我好想你录音1.mp3" id="sound1" hidden preload="auto"></audio>
  <audio src="./img/叔叔给你钱去买零食录音2.mp3" id="sound2" hidden preload="auto"></audio>
  <script src="/js/hilo-standalone.min.js"></script>
  <script type="module" src="/src/main.js"></script>
  <script>
    window.bgStatus = true
  </script>
</body>

</html>